SmartCrawl\Redirects\Utils S

Total Complexity 25
Dependencies 4
Dependents 3
Total lines 257
Lines of code 109
Logical lines of code 49
Comment lines 110
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
source_to_path()
S
53 5 23
create_redirect_item()
S
56 2 19
encode_path()
S
57 2 19
prepare_options()
S
72 3 5
get_default_type()
S
71 2 6
prepare_type()
S
69 2 7
prepare_url()
S
65 2 9
is_url_absolute()
S
77 2 3
prepare_source()
S
80 1 3
remove_scheme()
S
78 1 3
normalize_path()
S
71 1 6
prepare_destination()
S
80 1 3
enforce_starting_slash()
S
79 1 3